package com.yicoollxing.common;

public enum ResponseCode {
	Success(0, "SUCCESS"), Error(1, "ERROR"), NEED_LOGIN(10, "需要登录"), ILLEGAL_ARGUMENT(
			2, "参数错误");

	private final int code;
	private final String desc;

	ResponseCode(int code, String desc) {
		this.code = code;
		this.desc = desc;
	}

	public int getCode() {
		return this.code;
	}

	public String getDesc() {
		return this.desc;
	}

}
